            <h3 class="box-title ">
              销量统计 
            </h3>
            <div class="table-responsive">
              <table class="table table-striped" id="dataTable" >
                <thead>
                  <tr>
                    <th>菜品名称</th>
                    <th>销量份数</th>
                    <th>销量总金额</th>
                  </tr>
                </thead>
                <tbody>
                  <% @food_charts.each do |food| %>
                  <tr>
                    <td><%= food.name %></td>
                    <td><%= food.total_quantity %>份</td>
                    <td><%= food.total_sell_price %>元</td>
                  </tr>
                  <% end %>
                </tbody>
              </table>
            </div>
<hr>            